<template>
	<view>
		<view style="margin-left: 40rpx;padding: 20rpx 0;border-bottom: #d4d4d4 1rpx solid;">大连XXX有限公司</view>
		<view class="item">
			设计部
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view class="item">
			研发部
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view class="item">
			市场部
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view class="item">
			人力资源部
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view class="item">
			运营部
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view
			style="border-top: #e3e3e3 1rpx solid;padding-top: 20rpx; width: 100%;position: absolute;bottom: 20rpx;display: flex;justify-content: space-around;">
			<button type="default" @click="addchengyuan"
				style="background-color: #007AFF;color: #fff;border-radius: 20rpx;width: 43%;">添加成员</button>
			<button type="default" @click="addbumen"
				style="background-color: #007AFF;color: #fff;border-radius: 20rpx;width: 43%;">添加部门</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			addbumen() {
				uni.navigateTo({
					url: './addDepartment'
				})
			},
			addchengyuan() {
				uni.navigateTo({
					url: './addMember'
				})
			}
		}
	}
</script>

<style>
	.item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: end;
		padding-right: 30rpx;
		margin-left: 30rpx;
		line-height: 100rpx;
		border-bottom: #d4d4d4 1rpx solid;
	}
</style>
